<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>全部商家</title>
		<link rel="stylesheet" type="text/css" th:href="@{/css/common_samplify.css}" />
		<link rel="stylesheet" type="text/css" th:href="@{/css/wx_index.css}" />
		<link rel="stylesheet" type="text/css" th:href="@{/css/merchant.css}" />
		<script th:src="@{/js/jquery-3.2.1.min.js}" type="text/javascript" charset="utf-8"></script>
		<script th:src="@{/js/jquery.event.drag.js}" type="text/javascript" charset="utf-8"></script>
		<script th:src="@{/js/jquery.touchSlider.js}" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" th:src="@{/js/wx_index.js}"></script>
	</head>

	<body>
		<!--
        	描述：店铺查询
        -->
		<div class="col-12 position_fix text_center head_fix" id="check_head">
			<div class="col-2" onclick="window.history.back(); ">
				返回
			</div>
			<a th:href="@{/query}">
				<div class="col-8">
				输入你想查找的商户
				</div></a>
		</div>
		<!--
             描述：和首页推荐一样
            -->
            <div class="recommend row paddingLR10 bg_snow" id="recommend">
            	<!--
                            	描述：目前一个店铺一个链接，回头可以修改buss_item.html
                            -->
				<div class="item" th:each="bussiness,iterStat : ${bussinessList}">
            	<a th:href="@{/buyer/coupon/couponList(bussinessId=${bussiness.bussinessId})}" >
            		<!--
                                	描述：左侧店铺logo图
                               -->
            		<div class="rec_img col-4" id="rec_img">
            			<img class="width100" th:src="@{/img/shop_img/ms_kaoya.jpg}" />
            		</div>
            		<!--
                                	描述：店铺右侧信息
                                -->
            		<div class="buss_info col-8">
            			<!--d
                                    	描述：店名
                                    -->
            			<div class="buss_name color333" th:text="${bussiness.bussinessName}">

            			</div>
            			<div class="buss_other">
            				<div class="font_size14" th:text="${bussiness.bussinessAddress}"></div>
            				<div class="buss_activ font_size10">
            					<b>代</b> 20代50;75代100
            				</div>
            				<div class="buss_activ font_size10">
            					<b>折</b> 折扣商品5折起
            				</div>
            
            			</div>
            		</div>
            	</a>
				</div>

            </div>

		<div class="position_fix bottom0 bt row width100 bg_snow">
			<div class="col-4 text_center ">
				<a th:href="@{/buyer/bussiness/allBussiness(flag=recommend)}" class="color666 textdecoration_none">首页</a>
			</div>
			<div class="col-4 text_center">
				<a th:href="@{/personalInfo(openid=${session.openid})}" class=" color666 textdecoration_none">个人中心</a>
			</div>
			<div class="col-4 text_center color666 textdecoration_none">
				<a th:href="@{/couponCenter(openid=${session.openid})}" class="color666 textdecoration_none">我的优惠券</a>
			</div>
		</div>
	</body>

</html>